<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="(image, index) in imgs" :key="index">
         <van-image  :src="image" />
      </van-swipe-item>
    </van-swipe>
    <van-cell-group :border="false">
      <Now :movieType="$store.getters.getStaticValue('MOVIE_NOW_PLAY')" key="now"></Now>
    </van-cell-group>
  </div>
</template>

<script>
import Now from "@/components/Now";
export default {
  name: "NowPlay",
  components: {Now},
  data(){
    return{
      imgs:[require('../assets/img/1.jpg'),require('../assets/img/2.jpg'),require('../assets/img/3.jpg')]
    }
  }
}
</script>

<style scoped>
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  height: 175px;
}
</style>
